angular.module('imsApp').controller('copyScreenViewController', ['$scope', '$rootScope', '$state', 'copyScreenManager', function ($scope, $rootScope, $state, copyScreenManager) {
    $scope.search = {
        campaignId:$state.params.campaignId,
        appId:$state.params.appId
    };

    copyScreenManager.copyScreenView($scope.search.campaignId,$scope.search.appId).then(function (result) {
        $scope.copyScreenView = result.data.pageList;
        //console.log($scope.copyScreenView[0].url);
    });


}]);

